<template>
    <div id="news">
      <my-header title="看点"></my-header>
      <div style="height: calc(100vh - 112px);overflow: scroll;position: relative;">
        <iframe :src="url" frameborder="0" class="iframe" scrolling="auto">
        </iframe>
      </div>
    </div>
</template>

<script>
    export default {
      name: "News",
      data(){
          return {
            url:'https://www.baidu.com/s?word=%E7%99%BE%E5%BA%A6'
          }
      }
    }
</script>

<style scoped>
  .iframe {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    overflow-y: hidden;
  }
</style>
